/*
	左侧功能菜单树
*/

Ext.define('EF.view.MenuTree',{
	extend: 'Ext.tree.Panel',
	
	alias: 'widget.menutree',
	
	rootVisible: false,
		
	root: {
		text:'root',
		expanded: true,
        children: [
            { text: "Child 1", expanded: true, children:[
            	{ text: '职位', target: 'GeneralGrid', entity: 'Jobtitle', leaf: true }
            ]},
            { text: "Child 2", expanded: true, children:[
            	{ text: '菜单', target: 'GeneralGrid', entity: 'MenuTree', leaf: true }
            ]}
		]
	}
});